<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>添加课程信息</title>
  </head>
  
  <body>
  请输入相关课程信息：
    <form action="servlet/Addservlet" method="post">
		课&nbsp程&nbsp名：<input type="text" name = "name"><br/><br/>
		开课&nbsp学期：<input type="text" name = "term"><br/><br/>
		课程&nbsp学分：<input type="text" name = "credit"><br/><br/>
		 <input type='submit' value='添加'><br>
		 
  </body>
</html>
